package com.github.lyd.admin.provider.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 微信AppSession表
 * 
 * @author yaowu
 * @email toyaowu@163.com
 * @date 2019-01-20 11:08:15
 */
@TableName("WX_APP_SESSIONS")
public class WxAppSessionsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private String id;
	/**
	 * session标识
	 */
	private String sessionKey;
	/**
	 * 
	 */
	private Integer expiresIn;
	/**
	 * open_id
	 */
	private String openId;
	/**
	 * 时间
	 */
	private Date time;
	/**
	 * 用户主机地址
	 */
	private String userHostAddress;

	/**
	 * 设置：id
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：session标识
	 */
	public void setSessionKey(String sessionKey) {
		this.sessionKey = sessionKey;
	}
	/**
	 * 获取：session标识
	 */
	public String getSessionKey() {
		return sessionKey;
	}
	/**
	 * 设置：
	 */
	public void setExpiresIn(Integer expiresIn) {
		this.expiresIn = expiresIn;
	}
	/**
	 * 获取：
	 */
	public Integer getExpiresIn() {
		return expiresIn;
	}
	/**
	 * 设置：open_id
	 */
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	/**
	 * 获取：open_id
	 */
	public String getOpenId() {
		return openId;
	}
	/**
	 * 设置：时间
	 */
	public void setTime(Date time) {
		this.time = time;
	}
	/**
	 * 获取：时间
	 */
	public Date getTime() {
		return time;
	}
	/**
	 * 设置：用户主机地址
	 */
	public void setUserHostAddress(String userHostAddress) {
		this.userHostAddress = userHostAddress;
	}
	/**
	 * 获取：用户主机地址
	 */
	public String getUserHostAddress() {
		return userHostAddress;
	}
}
